<template>
    <div>
        <el-breadcrumb separator="/">
            <el-breadcrumb-item v-for="item in route.matched" :key="item.path"><a :href="item.path">{{item.meta.title}}</a></el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute()
console.log(route.path)
</script>

<style scoped></style>